package com.zxy.ziems.server.scene.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxy.btp.mybatis.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 场景
 * @author 10348359
 * @create 2024-02-28 0:41
 */
@TableName("t_scene")
public class SceneEntity extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 父节点
     */
    private String parentId;

    /**
     * 场景类型， 1：场景父级 2:场景
     */
    private Integer type;

    /**
     * 场景编码
     */
    private String code;

    /**
     * 场景名称
     */
    private String name;

    /**
     * 文件id
     */
    private String fileId;

    /**
     * 场景宽度
     */
    private BigDecimal width;

    /**
     * 场景高度
     */
    private BigDecimal height;

    /**
     * 原点x坐标
     */
    private BigDecimal frameX;

    /**
     * 场景Y坐标
     */
    private BigDecimal frameY;

    /**
     * 场景Z坐标
     */
    private BigDecimal frameZ;

    /**
     * 场景宽度坐标
     */
    private BigDecimal frameWidth;

    /**
     * 场景高度坐标
     */
    private BigDecimal frameHeight;

    /**
     * 序号
     */
    private Integer sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public BigDecimal getWidth() {
        return width;
    }

    public void setWidth(BigDecimal width) {
        this.width = width;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public BigDecimal getFrameX() {
        return frameX;
    }

    public void setFrameX(BigDecimal frameX) {
        this.frameX = frameX;
    }

    public BigDecimal getFrameY() {
        return frameY;
    }

    public void setFrameY(BigDecimal frameY) {
        this.frameY = frameY;
    }

    public BigDecimal getFrameZ() {
        return frameZ;
    }

    public void setFrameZ(BigDecimal frameZ) {
        this.frameZ = frameZ;
    }

    public BigDecimal getFrameWidth() {
        return frameWidth;
    }

    public void setFrameWidth(BigDecimal frameWidth) {
        this.frameWidth = frameWidth;
    }

    public BigDecimal getFrameHeight() {
        return frameHeight;
    }

    public void setFrameHeight(BigDecimal frameHeight) {
        this.frameHeight = frameHeight;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
